﻿@inherits ComponentBaseDataCenter
<ValidateForm Model="@Config" ValidateAllProperties="true">
    <Row ItemsPerRow="ItemsPerRow.Three" RowType="RowType.Inline">
        <BootstrapInput @bind-Value="@Config.Name" />
        <Select @bind-Value="@Config.DataType" />
        <Select @bind-Value="@Config.OutType" />
        <Row ColSpan="2">
            <Button Text="编辑配置" IsAsync="true" OnClick="@(()=>OnClickConfigAsync())"></Button>
        </Row>

        <Button Text="测试结果" IsAsync="true" OnClick="@(()=>OnClickTestAsync())"></Button>
        <Textarea @bind-Value="@Config.DataDemo" rows="10" />
        <Textarea @bind-Value="@Config.StandardConfig" rows="10" />
        <Textarea @bind-Value="@Result" rows="10" />
    </Row>
</ValidateForm>

